package com.zxl.yjb.utils;

/**
 * 介绍 在高德地图中申请了web地图key，调用下面的地址，可以获取一张静态地图图片
 * 作者 ssy
 * 时间 2018/6/18
 * 邮箱 1161209667@qq.com
 *
 */
public class GenerateMapBitmapUtil {
//    public String key = "b26ad2beac5a6030f696d4d68e077a7b";
    public static String getMapUrl(double x, double y) {
        String url = "http://restapi.amap.com/v3/staticmap?location=" + y + "," + x +
                "&zoom=12&scale=2&size=350*100&markers=mid,,A:" + y + ","
                + x + "&key=" + "b26ad2beac5a6030f696d4d68e077a7b";//一键帮的yijianban_web key
        NLog.e("getMapUrl", url);
//        return Uri.parse(url);
        return url;
    }

}
